//
//  MP_NetAPIManager.h
//  oc1
//
//  Created by kokuma on 2017/2/7.
//  Copyright © 2017年 kokumams. All rights reserved.
//

#ifndef MPNetAPIManager_h
#define MPNetAPIManager_h


#endif /* MPNetAPIManager_h */

#import "CodingNetAPIClient.h"

@interface MPNetAPIManager : NSObject
+ (MPNetAPIManager *)sharedManager;

- (void)getRecommendUsers:(NSString *)page andBlock:(void (^)(id data, NSError *error))block;

#pragma mark - login
- (void)login:(NSString *)mobile loginPwd:(NSString *)loginPwd andBlock:(void (^)(id data, NSError *error))block;

#pragma mark - searchAll
- (void)getUsersByKeyword:(NSString *)page andBlock:(void (^)(id data, NSError *error))block;
//- (void)getOneUser:(NSDictionary *)params andBlock:(void (^)(id data, NSError *error))block;
#pragma mark - Acgs
- (void)getAcgsByKeyword:(NSString *)page andBlock:(void (^)(id data, NSError *error))block;
//- (void)getOneAcg:params:(NSDictionary *)params andBlock:(void (^)(id data, NSError *error))block;
#pragma mark - Venues
- (void)getVenuesByKeyword:(NSString *)page andBlock:(void (^)(id data, NSError *error))block;
//- (void)getOneVenue:(NSDictionary *)params params:(void (^)(id data, NSError *error))block;
#pragma mark - Topics let DYNAMICS = "/dynamic" //获取动态，专题"positive", "4"
- (void)getTopicsByKeyword:(NSString *)page andBlock:(void (^)(id data, NSError *error))block;
//- (void)getOneTopic:(NSDictionary *)params params:(void (^)(id data, NSError *error))block;
#pragma mark - CosWorks
- (void)getCosWorksByKeyword:(NSString *)page andBlock:(void (^)(id data, NSError *error))block;
//- (void)getOneCosWork:(NSDictionary *)params andBlock:(void (^)(id data, NSError *error))block;

@end